//
//  MyFavoryResModel.swift
//  koolcar
//
//  Created by xiantian on 2023/11/9.
//

import UIKit
import ObjectMapper

class MyFavoryResModel: Mappable {
    var code : String?
    var data : MyFavoryDataModel?
    var msg : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}
class MyFavoryDataModel: Mappable {
    var content : [VehicleLisetModel]?
    var pageNumber : NSInteger?
    var pageSize : NSInteger?
    var total : NSInteger?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        content <- map["content"]
        pageNumber <- map["pageNumber"]
        pageSize <- map["pageSize"]
        total <- map["total"]
    }
}
class MyFavoryContentModel: Mappable {
    var appearanceImages : String?
    var backgroundImage : String?
    var brandId : NSInteger?
    var brandName : String?
    var carCategoryStr : String?
    var carFacilityDetail : String?
    var carNo : String?
    var createdTime : String?
    var delFlag : NSInteger?
    var enableImages : NSInteger?
    var energy : String?
    var engine : String?
    var engineChassisImages : String?
    var exfactoryDate : String?
    var exfactoryDateStr : String?
    var gearbox : String?
    var id : NSInteger?
    var isEnabledStereoscopicAppearanceImages : Bool?
    var isGenQr : NSInteger?
    var isMarketable : NSInteger?
    var isMarketableStr : String?
    var isReserve : NSInteger?
    var isSell : NSInteger?
    var isSpecialStr : String?
    var isTop : NSInteger?
    var isTopStr : String?
    var mengesyorkan : NSInteger?
    var mengesyorkanStr : String?
    var mileage : NSInteger?
    var modifyTime : String?
    var name : String?
    var orderPrice : Double?
    var otherParameter : String?
    var owner : String?
    var ownerPhone : String?
    var price : Double?
    var seriesId : NSInteger?
    var seriesName : String?
    var statusStr : String?
    var steeringWheel : NSInteger?
    var stereoscopicAppearanceImagesSize : NSInteger?
    var stereoscopicImage : String?
    var storeId : NSInteger?
    var storeName : String?
    var styleId : NSInteger?
    var videoUrl : String?
    
    
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        appearanceImages <- map["appearanceImages"]
        backgroundImage <- map["backgroundImage"]
        brandId <- map["brandId"]
        brandName <- map["brandName"]
        carCategoryStr <- map["carCategoryStr"]
        carFacilityDetail <- map["carFacilityDetail"]
        carNo <- map["carNo"]
        createdTime <- map["createdTime"]
        delFlag <- map["delFlag"]
        enableImages <- map["enableImages"]
        energy <- map["energy"]
        engine <- map["engine"]
        engineChassisImages <- map["engineChassisImages"]
        exfactoryDate <- map["exfactoryDate"]
        exfactoryDateStr <- map["exfactoryDateStr"]
        gearbox <- map["gearbox"]
        id <- map["id"]
        isEnabledStereoscopicAppearanceImages <- map["isEnabledStereoscopicAppearanceImages"]
        isGenQr <- map["isGenQr"]
        isMarketable <- map["isMarketable"]
        isMarketableStr <- map["isMarketableStr"]
        isReserve <- map["isReserve"]
        isSell <- map["isSell"]
        isSpecialStr <- map["isSpecialStr"]
        isTop <- map["isTop"]
        isTopStr <- map["isTopStr"]
        mengesyorkan <- map["mengesyorkan"]
        mengesyorkanStr <- map["mengesyorkanStr"]
        mileage <- map["mileage"]
        modifyTime <- map["modifyTime"]
        name <- map["name"]
        orderPrice <- map["orderPrice"]
        otherParameter <- map["otherParameter"]
        owner <- map["owner"]
        ownerPhone <- map["ownerPhone"]
        price <- map["price"]
        seriesId <- map["seriesId"]
        seriesName <- map["seriesName"]
        statusStr <- map["statusStr"]
        steeringWheel <- map["steeringWheel"]
        stereoscopicAppearanceImagesSize <- map["stereoscopicAppearanceImagesSize"]
        stereoscopicImage <- map["stereoscopicImage"]
        storeId <- map["storeId"]
        storeName <- map["storeName"]
        styleId <- map["styleId"]
        videoUrl <- map["videoUrl"]
    }
}
